﻿namespace Swsk33.FinalCourseDesign.Model
{
	/// <summary>
	/// 请求结果类
	/// </summary>
	public class Result<T>
	{
		private string message;

		private bool success;

		private T data;

		/// <summary>
		/// 消息
		/// </summary>
		public string Message { get => message; set => message = value; }

		/// <summary>
		/// 是否成功
		/// </summary>
		public bool Success { get => success; set => success = value; }

		/// <summary>
		/// 数据体
		/// </summary>
		public T Data { get => data; set => data = value; }
	}
}